<template>
  <footer class="footer">
    <div class="footer-grid">
      <div class="footer-about">
        <div class="footer-logo">安心医疗</div>
        <p class="footer-description">
          安心医疗为普通患者提供便捷、高效、专业的医疗预约服务，与全国多家三甲医院合作，优化医疗资源配置，改善患者就诊体验。
        </p>
        <div class="contact-info">
          <div class="contact-item">
            <i class="fas fa-map-marker-alt"></i>
            <span>北京市朝阳区建国路88号</span>
          </div>
          <div class="contact-item">
            <i class="fas fa-phone-alt"></i>
            <span>400-888-8888</span>
          </div>
          <div class="contact-item">
            <i class="fas fa-envelope"></i>
            <span>service@anxinmedical.com</span>
          </div>
        </div>
      </div>
      
      <div class="footer-column">
        <h3 class="footer-title">快速链接</h3>
        <ul class="footer-links">
          <li><router-link to="/"><i class="fas fa-angle-right"></i> 首页</router-link></li>
          <li><router-link to="/about"><i class="fas fa-angle-right"></i> 关于我们</router-link></li>
          <li><router-link to="/appointment"><i class="fas fa-angle-right"></i> 预约挂号</router-link></li>
          <li><router-link to="/guide"><i class="fas fa-angle-right"></i> 就诊指南</router-link></li>
          <li><router-link to="/aiDoctor"><i class="fas fa-angle-right"></i> AI导诊</router-link></li>
        </ul>
      </div>
      
      <div class="footer-column">
        <h3 class="footer-title">服务支持</h3>
        <ul class="footer-links">
          <li><router-link to="/guide"><i class="fas fa-angle-right"></i> 就诊指南</router-link></li>
          <li><router-link to="/news"><i class="fas fa-angle-right"></i> 健康资讯</router-link></li>
          <li><router-link to="/help"><i class="fas fa-angle-right"></i> 帮助中心</router-link></li>
          <li><router-link to="/faq"><i class="fas fa-angle-right"></i> 常见问题</router-link></li>
          <li><router-link to="/contact"><i class="fas fa-angle-right"></i> 联系我们</router-link></li>
        </ul>
      </div>
      
      <div class="footer-column">
        <h3 class="footer-title">关注我们</h3>
        <ul class="footer-links">
          <li><a href="#" target="_blank"><i class="fas fa-angle-right"></i> 微信公众号</a></li>
          <li><a href="#" target="_blank"><i class="fas fa-angle-right"></i> 新浪微博</a></li>
          <li><a href="#" target="_blank"><i class="fas fa-angle-right"></i> 抖音账号</a></li>
          <li><a href="#" target="_blank"><i class="fas fa-angle-right"></i> 知乎专栏</a></li>
          <li><a href="#" target="_blank"><i class="fas fa-angle-right"></i> 小红书</a></li>
        </ul>
      </div>
    </div>
    
    <div class="footer-bottom">
      <p>&copy; 2025 安心医疗预约平台 版权所有 | 京ICP备2023000000号-1 | 互联网医疗信息服务许可证：京（2023）-医疗-001</p>
      <p>本站所有内容仅供参考，具体医疗诊断和治疗请遵医嘱</p>
    </div>
  </footer>
</template>

<script lang="ts" setup>
// 页脚组件不需要太多逻辑
</script>

<style scoped lang="scss">
.footer {
  background: var(--deep-blue);
  color: var(--white);
  padding: 80px 8% 40px;
  position: relative;
  
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 60px;
  }
  
  .footer-about {
    padding-right: 30px;
  }
  
  .footer-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    display: block;
  }
  
  .footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.7;
  }
  
  .footer-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
  }
  
  .footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-teal);
  }
  
  .footer-links {
    list-style: none;
  }
  
  .footer-links li {
    margin-bottom: 12px;
  }
  
  .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .footer-links a i {
    font-size: 14px;
    color: var(--accent-teal);
    transition: var(--transition);
  }
  
  .footer-links a:hover {
    color: var(--accent-teal);
    transform: translateX(5px);
  }
  
  .footer-links a:hover i {
    transform: translateX(5px);
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
  }
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
</style>
